package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Radish
 * @Description:
 * @date 2024-12-03
 */
@Data
public class AdminUserEcologyPointWalletPageVO {


    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "积分名称")
    private String pointsName;


    @ApiModelProperty(value = "积分ID")
    private Long pointsId;


    @ApiModelProperty(value = "总收益金额")
    private String amount;


    public void setAmount(BigDecimal amount) {
        this.amount = amount.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }

}
